package com.zzzy.framework.common.enums.sys;

import com.zzzy.framework.common.annotation.ClassDescription;
import com.zzzy.framework.common.enums.DictInterface;

/**
 * 用户状态枚举类
 */

@ClassDescription("用户状态")
public enum UserStatusEnum implements DictInterface {

    CREATE("新建"),
    ENABLE("启用"),
    PAUSE("暂停"),
    QUIT("离职");

    private final String value;

    UserStatusEnum(String value) {
        this.value = value;
    }

    public String getValue() {
        return value;
    }

    @Override
    public String getDescription() {
        return value;
    }
}
